Optimal. Leaf size=124 \[ \frac{b \log (x) (b c-a d)^3}{a^5}-\frac{b (b c-a d)^3 \log (a+b x)}{a^5}+\frac{(b c-a d)^3}{a^4 x}+\frac{c^2 (b c-3 a d)}{3 a^2 x^3}-\frac{c \left (3 a^2 d^2-3 a b c d+b^2 c^2\right )}{2 a^3 x^2}-\frac{c^3}{4 a x^4} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.189365, antiderivative size = 124, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.056 \[ \frac{b \log (x) (b c-a d)^3}{a^5}-\frac{b (b c-a d)^3 \log (a+b x)}{a^5}+\frac{(b c-a d)^3}{a^4 x}+\frac{c^2 (b c-3 a d)}{3 a^2 x^3}-\frac{c \left (3 a^2 d^2-3 a b c d+b^2 c^2\right )}{2 a^3 x^2}-\frac{c^3}{4 a x^4} \]
Antiderivative was successfully verified.
[In] Int[(c + d*x)^3/(x^5*(a + b*x)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 49.2828, size = 114, normalized size = 0.92 \[ - \frac{c^{3}}{4 a x^{4}} - \frac{c^{2} \left (3 a d - b c\right )}{3 a^{2} x^{3}} - \frac{c \left (3 a^{2} d^{2} - 3 a b c d + b^{2} c^{2}\right )}{2 a^{3} x^{2}} - \frac{\left (a d - b c\right )^{3}}{a^{4} x} - \frac{b \left (a d - b c\right )^{3} \log{\left (x \right )}}{a^{5}} + \frac{b \left (a d - b c\right )^{3} \log{\left (a + b x \right )}}{a^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((d*x+c)**3/x**5/(b*x+a),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.213711, size = 137, normalized size = 1.1 \[ \frac{\frac{a \left (-3 a^3 \left (c^3+4 c^2 d x+6 c d^2 x^2+4 d^3 x^3\right )+2 a^2 b c x \left (2 c^2+9 c d x+18 d^2 x^2\right )-6 a b^2 c^2 x^2 (c+6 d x)+12 b^3 c^3 x^3\right )}{x^4}+12 b \log (x) (b c-a d)^3-12 b (b c-a d)^3 \log (a+b x)}{12 a^5} \]
Antiderivative was successfully verified.
[In] Integrate[(c + d*x)^3/(x^5*(a + b*x)),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.015, size = 246, normalized size = 2. \[ -{\frac{{c}^{3}}{4\,a{x}^{4}}}-{\frac{{d}^{3}}{ax}}+3\,{\frac{bc{d}^{2}}{{a}^{2}x}}-3\,{\frac{{b}^{2}{c}^{2}d}{{a}^{3}x}}+{\frac{{b}^{3}{c}^{3}}{{a}^{4}x}}-{\frac{3\,c{d}^{2}}{2\,a{x}^{2}}}+{\frac{3\,{c}^{2}bd}{2\,{a}^{2}{x}^{2}}}-{\frac{{c}^{3}{b}^{2}}{2\,{a}^{3}{x}^{2}}}-{\frac{{c}^{2}d}{a{x}^{3}}}+{\frac{{c}^{3}b}{3\,{a}^{2}{x}^{3}}}-{\frac{b\ln \left ( x \right ){d}^{3}}{{a}^{2}}}+3\,{\frac{{b}^{2}\ln \left ( x \right ) c{d}^{2}}{{a}^{3}}}-3\,{\frac{{b}^{3}\ln \left ( x \right ){c}^{2}d}{{a}^{4}}}+{\frac{{b}^{4}{c}^{3}\ln \left ( x \right ) }{{a}^{5}}}+{\frac{b\ln \left ( bx+a \right ){d}^{3}}{{a}^{2}}}-3\,{\frac{{b}^{2}\ln \left ( bx+a \right ) c{d}^{2}}{{a}^{3}}}+3\,{\frac{{b}^{3}\ln \left ( bx+a \right ){c}^{2}d}{{a}^{4}}}-{\frac{{b}^{4}\ln \left ( bx+a \right ){c}^{3}}{{a}^{5}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((d*x+c)^3/x^5/(b*x+a),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.33702, size = 281, normalized size = 2.27 \[ -\frac{{\left (b^{4} c^{3} - 3 \, a b^{3} c^{2} d + 3 \, a^{2} b^{2} c d^{2} - a^{3} b d^{3}\right )} \log \left (b x + a\right )}{a^{5}} + \frac{{\left (b^{4} c^{3} - 3 \, a b^{3} c^{2} d + 3 \, a^{2} b^{2} c d^{2} - a^{3} b d^{3}\right )} \log \left (x\right )}{a^{5}} - \frac{3 \, a^{3} c^{3} - 12 \,{\left (b^{3} c^{3} - 3 \, a b^{2} c^{2} d + 3 \, a^{2} b c d^{2} - a^{3} d^{3}\right )} x^{3} + 6 \,{\left (a b^{2} c^{3} - 3 \, a^{2} b c^{2} d + 3 \, a^{3} c d^{2}\right )} x^{2} - 4 \,{\left (a^{2} b c^{3} - 3 \, a^{3} c^{2} d\right )} x}{12 \, a^{4} x^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x + c)^3/((b*x + a)*x^5),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.213142, size = 288, normalized size = 2.32 \[ -\frac{3 \, a^{4} c^{3} + 12 \,{\left (b^{4} c^{3} - 3 \, a b^{3} c^{2} d + 3 \, a^{2} b^{2} c d^{2} - a^{3} b d^{3}\right )} x^{4} \log \left (b x + a\right ) - 12 \,{\left (b^{4} c^{3} - 3 \, a b^{3} c^{2} d + 3 \, a^{2} b^{2} c d^{2} - a^{3} b d^{3}\right )} x^{4} \log \left (x\right ) - 12 \,{\left (a b^{3} c^{3} - 3 \, a^{2} b^{2} c^{2} d + 3 \, a^{3} b c d^{2} - a^{4} d^{3}\right )} x^{3} + 6 \,{\left (a^{2} b^{2} c^{3} - 3 \, a^{3} b c^{2} d + 3 \, a^{4} c d^{2}\right )} x^{2} - 4 \,{\left (a^{3} b c^{3} - 3 \, a^{4} c^{2} d\right )} x}{12 \, a^{5} x^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x + c)^3/((b*x + a)*x^5),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 8.85086, size = 355, normalized size = 2.86 \[ - \frac{3 a^{3} c^{3} + x^{3} \left (12 a^{3} d^{3} - 36 a^{2} b c d^{2} + 36 a b^{2} c^{2} d - 12 b^{3} c^{3}\right ) + x^{2} \left (18 a^{3} c d^{2} - 18 a^{2} b c^{2} d + 6 a b^{2} c^{3}\right ) + x \left (12 a^{3} c^{2} d - 4 a^{2} b c^{3}\right )}{12 a^{4} x^{4}} - \frac{b \left (a d - b c\right )^{3} \log{\left (x + \frac{a^{4} b d^{3} - 3 a^{3} b^{2} c d^{2} + 3 a^{2} b^{3} c^{2} d - a b^{4} c^{3} - a b \left (a d - b c\right )^{3}}{2 a^{3} b^{2} d^{3} - 6 a^{2} b^{3} c d^{2} + 6 a b^{4} c^{2} d - 2 b^{5} c^{3}} \right )}}{a^{5}} + \frac{b \left (a d - b c\right )^{3} \log{\left (x + \frac{a^{4} b d^{3} - 3 a^{3} b^{2} c d^{2} + 3 a^{2} b^{3} c^{2} d - a b^{4} c^{3} + a b \left (a d - b c\right )^{3}}{2 a^{3} b^{2} d^{3} - 6 a^{2} b^{3} c d^{2} + 6 a b^{4} c^{2} d - 2 b^{5} c^{3}} \right )}}{a^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x+c)**3/x**5/(b*x+a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.269671, size = 297, normalized size = 2.4 \[ \frac{{\left (b^{4} c^{3} - 3 \, a b^{3} c^{2} d + 3 \, a^{2} b^{2} c d^{2} - a^{3} b d^{3}\right )}{\rm ln}\left ({\left | x \right |}\right )}{a^{5}} - \frac{{\left (b^{5} c^{3} - 3 \, a b^{4} c^{2} d + 3 \, a^{2} b^{3} c d^{2} - a^{3} b^{2} d^{3}\right )}{\rm ln}\left ({\left | b x + a \right |}\right )}{a^{5} b} - \frac{3 \, a^{4} c^{3} - 12 \,{\left (a b^{3} c^{3} - 3 \, a^{2} b^{2} c^{2} d + 3 \, a^{3} b c d^{2} - a^{4} d^{3}\right )} x^{3} + 6 \,{\left (a^{2} b^{2} c^{3} - 3 \, a^{3} b c^{2} d + 3 \, a^{4} c d^{2}\right )} x^{2} - 4 \,{\left (a^{3} b c^{3} - 3 \, a^{4} c^{2} d\right )} x}{12 \, a^{5} x^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((d*x + c)^3/((b*x + a)*x^5),x, algorithm="giac")
[Out]